import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import 'animate.css';
//按需引入
import {Button,Row,DatePicker,Container,Header,Main,Footer,FormItem,Form,Input,Carousel,CarouselItem,Image,Aside,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Menu,
  Col,
  Table,
  TableColumn,
  Upload,
  Calendar,
    Tabs,
    TabPane
} from 'element-ui'
Vue.component(Button.name,Button)
Vue.component(Row.name,Row)
Vue.component(DatePicker.name,DatePicker)
Vue.component(Header.name,Header)
Vue.component(Main.name,Main)
Vue.component(Footer.name,Footer)
Vue.component(Container.name,Container)
Vue.component(FormItem.name,FormItem)
Vue.component(Form.name,Form)
Vue.component(Input.name,Input)
Vue.component(Carousel.name,Carousel)
Vue.component(CarouselItem.name,CarouselItem)
Vue.component(Image.name,Image)
Vue.component(Aside.name,Aside)
Vue.component(Submenu.name,Submenu)
Vue.component(MenuItem.name,MenuItem)
Vue.component(MenuItemGroup.name,MenuItemGroup)
Vue.component(Menu.name,Menu)
Vue.component(Col.name,Col)
Vue.component(Upload.name,Upload)
Vue.component(Table.name,Table)
Vue.component(TableColumn.name,TableColumn)
Vue.component(Calendar.name,Calendar)
Vue.component(Tabs.name,Tabs)
Vue.component(TabPane.name,TabPane)


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
